
/**********************************************************************************
**SI 通用帮助信息：快捷键映射
**********************************************************************************/

//显示ASCII 表格
macro HelpShowAsciiTable()
{
    var path;
    var hFile;

	path = __common_get_help_path("ascii_table.h");
	hFile = OpenBuf(path);


    if(hFile == hNil)
    {
    	stop;
    }

   	SetCurrentBuf(hFile);
}

//Notepad++ 帮助信息
macro HelpShowNotepadInfo()
{
    var path;
    var hFile;

	path = __common_get_help_path("notepad_plus_help.h");
	hFile = OpenBuf(path);


    if(hFile == hNil)
    {
    	stop;
    }

   	SetCurrentBuf(hFile);
}

//SI 帮助信息
macro HelpShowSIInfo()
{
    var path;
    var hFile;

	path = __common_get_help_path("si_help.h");
	hFile = OpenBuf(path);


    if(hFile == hNil)
    {
    	stop;
    }

   	SetCurrentBuf(hFile);
}

//SI 帮助信息
macro HelpShowSIFun()
{
    var path;
    var hFile;

	path = __common_get_help_path("si_auto_complete.h");
	hFile = OpenBuf(path);


    if(hFile == hNil)
    {
    	stop;
    }

   	SetCurrentBuf(hFile);
}

//BASH 帮助信息
macro HelpShowBashInfo()
{
    var path;
    var hFile;

	path = __common_get_help_path("bash_help.h");
	hFile = OpenBuf(path);


    if(hFile == hNil)
    {
    	stop;
    }

   	SetCurrentBuf(hFile);
}

//C 帮助信息
macro HelpShowISOCInfo()
{
    var path;
    var hFile;

	path = __common_get_help_path("std_C89_C99_C11.h");
	hFile = OpenBuf(path);


    if(hFile == hNil)
    {
    	stop;
    }

   	SetCurrentBuf(hFile);
}

//C++ 帮助信息
macro HelpShowISOCPPInfo()
{
    var path;
    var hFile;

	path = __common_get_help_path("std_C++11_C++14_C++17_C++20.h");
	hFile = OpenBuf(path);


    if(hFile == hNil)
    {
    	stop;
    }

   	SetCurrentBuf(hFile);
}
//Doxygen 帮助信息
macro HelpShowDoxyInfo()
{
    var path;
    var hFile;

	path = __common_get_help_path("doxy_help.h");
	hFile = OpenBuf(path);


    if(hFile == hNil)
    {
    	stop;
    }

   	SetCurrentBuf(hFile);
}



//LUA 帮助信息
macro HelpShowLUAInfo()
{
    var path;
    var hFile;

	path = __common_get_help_path("lua_help.h");
	hFile = OpenBuf(path);


    if(hFile == hNil)
    {
    	stop;
    }

   	SetCurrentBuf(hFile);
}

//Python 帮助信息
macro HelpShowPythonInfo()
{
    var path;
    var hFile;

	path = __common_get_help_path("python_help.h");
	hFile = OpenBuf(path);


    if(hFile == hNil)
    {
    	stop;
    }

   	SetCurrentBuf(hFile);
}



//Linux Posix 帮助信息
macro HelpShowLinuxPosixHelp()
{
    var path;
    var hFile;

	path = __common_get_help_path("posix_C_API.h");
	hFile = OpenBuf(path);


    if(hFile == hNil)
    {
    	stop;
    }

   	SetCurrentBuf(hFile);
}

//Android Native 帮助信息
macro HelpShowAndroidNativeHelp()
{
    var path;
    var hFile;

	path = __common_get_help_path("android_native.h");
	hFile = OpenBuf(path);


    if(hFile == hNil)
    {
    	stop;
    }

   	SetCurrentBuf(hFile);
}

macro HelpShowAndroidMakeHelp()
{
    var path;
    var hFile;

	path = __common_get_help_path("android_mk_help.h");
	hFile = OpenBuf(path);


    if(hFile == hNil)
    {
    	stop;
    }

   	SetCurrentBuf(hFile);
}

//Cmake 帮助信息
macro HelpShowCmakeHelp()
{
    var path;
    var hFile;

	path = __common_get_help_path("cmake_help.h");
	hFile = OpenBuf(path);


    if(hFile == hNil)
    {
    	stop;
    }

   	SetCurrentBuf(hFile);
}

macro HelpShowMakefileHelp()
{
    var path;
    var hFile;

	path = __common_get_help_path("makefile_help.h");
	hFile = OpenBuf(path);


    if(hFile == hNil)
    {
    	stop;
    }

   	SetCurrentBuf(hFile);
}


// My Project Data



// My Porject Env
macro HelpShowProjectEnv()
{
    var path;
    var hFile;
    var sDir;

	sDir = __common_get_help_path(nil);
	path = "@sDir@\\project\\project_env.h";
	hFile = OpenBuf(path);


    if(hFile == hNil)
    {
    	stop;
    }

   	SetCurrentBuf(hFile);
}

// My Porject Repo
macro HelpShowProjectRepo()
{
    var path;
    var hFile;
    var sDir;
    
	sDir = __common_get_help_path(nil);
	path = "@sDir@\\project\\project_repo.h";
	hFile = OpenBuf(path);


    if(hFile == hNil)
    {
    	stop;
    }

   	SetCurrentBuf(hFile);
}

// My Porject Task
macro HelpShowProjectTask()
{
    var path;
    var hFile;
    var sDir;
    
	sDir = __common_get_help_path(nil);
	path = "@sDir@\\project\\project_task.h";
	hFile = OpenBuf(path);


    if(hFile == hNil)
    {
    	stop;
    }

   	SetCurrentBuf(hFile);
}




// My Porject Tips
macro HelpShowProjectTips()
{
    var path;
    var hFile;
    var sDir;
	sDir = __common_get_help_path(nil);
	path = "@sDir@\\project\\project_tips.h";
	hFile = OpenBuf(path);


    if(hFile == hNil)
    {
    	stop;
    }

   	SetCurrentBuf(hFile);
}
